<?php $n%2==0 ? $class="even" :$class="odd"?>

<div style="clear:both;" id="old_details_<?php echo $model->_id?>">
    <div class="item <?php echo $class?>" style="width:130px"><?php echo Detail::$TYPES[$model->type]; ?></div>
    <div class="item <?php echo $class?>"  style="width:70px"><?php echo $model->min_view; ?></div>
    <div class="item <?php echo $class?>"  style="width:120px"><?php echo $model->player; ?></div>
    <div class="item <?php echo $class?>"  style="width:120px"><?php echo "&nbsp;".$model->comment; ?></div>
    <div class="item <?php echo $class?>"  style="width:130px"><?php echo Detail::$SIDE[$model->side] ?></div>
    <div class="item <?php echo $class?>"  style="width:30px"><?php echo ($edit)? $model->deleted:"&nbsp;"; ?></div>
    <div class="item <?php echo $class?>"  style="width:70px">
    <?php echo ($edit)? CHtml::button("Edit", array("live"=>"", "class"=>"old", "id"=>$model->_id)):"&nbsp;"?>
    </div>
    </div>
